package javaother.prog2;

/**
 * Author: Maciek
 */
public class DzialaniaMatematyczne {
    public static void main(String[] args) {
        int x = 5;
        int y = 2;

        System.out.println("x = " + x);
        System.out.println("y = " + y);

        int suma = x + y;
        int roznica = x - y;
        int iloczyn = x * y;
        int iloraz = x / y;

        System.out.println("Suma wynosi " + suma);
        System.out.println("Roznica wynosi " + roznica);
        System.out.println("iloczyn wynosi " + iloczyn);
        System.out.println("iloraz wynosi " + iloraz);
    }
}
